package com.crm.model;

import java.util.List;

public class SysMenu extends BaseModel{
	
    @Override
	public boolean equals(Object obj) {
		
    	if(obj instanceof SysMenu){
    		SysMenu e = (SysMenu)obj;
    		return e.getMenuId().equals(this.menuId);
    	}
    	
		return false;
	}

	private String menuId;

    private String parentId;

    private String code;

    private String fullName;

    private String description;

    private String img;

    private String category;

    private String navigateUrl;

    private String formName;

    private String target;

    private Integer isUnfold;
    
    private List<SysMenu> childs;

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getNavigateUrl() {
        return navigateUrl;
    }

    public void setNavigateUrl(String navigateUrl) {
        this.navigateUrl = navigateUrl;
    }

    public String getFormName() {
        return formName;
    }

    public void setFormName(String formName) {
        this.formName = formName;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public Integer getIsUnfold() {
        return isUnfold;
    }

    public void setIsUnfold(Integer isUnfold) {
        this.isUnfold = isUnfold;
    }

	public List<SysMenu> getChilds() {
		return childs;
	}

	public void setChilds(List<SysMenu> childs) {
		this.childs = childs;
	}
    
}